8385409: Javap documentation says by default protected and public members are printed but package private members are also printed by default (-package behavior, not -protected)#31321
Conversation
…bers are printed but package private members are also printed by default (`-package` behavior, not `-protected`)
|
👋 Welcome back dbalek! A progress list of the required criteria for merging this PR into |
|
@dbalek This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 33 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@liach) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
|
/label add compiler |
|
@AlanBateman |
|
/csr needed |
|
@dbalek , please run a quick CSR to cover the updating the text to match the long-standing behavior. |
|
@jddarcy has indicated that a compatibility and specification (CSR) request is needed for this pull request. @dbalek please create a CSR request for issue JDK-8385409 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
Co-authored-by: Chen Liang <liach@openjdk.org>
|
/integrate |
|
/sponsor |
|
Going to push as commit 886eb11.
Your commit was automatically rebased without conflicts. |
In the current version of the JDK, there is a small inconsistency in the documentation for the
javapcommand.The description currently states that, when no options are used,
javapprints only protected and public fields and methods.This contradicts both the documented default for the
-packageoptionand the actual behavior of the tool: package-private members are also printed by default.
The proposed change is to update the wording to state that
javapprints package-private, protected, and public fields and methods when no access-filtering option is specified.Progress
Issues
-packagebehavior, not-protected) (Bug - P4)-packagebehavior, not-protected) (CSR)Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31321/head:pull/31321$ git checkout pull/31321Update a local copy of the PR:
$ git checkout pull/31321$ git pull https://git.openjdk.org/jdk.git pull/31321/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31321View PR using the GUI difftool:
$ git pr show -t 31321Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31321.diff
Using Webrev
Link to Webrev Comment